<template>
    <van-field
        v-model="data.options.defaultValue"
        :required="data.options.required"
        clearable
        :label="data.options.label"
        :placeholder="data.options.placeholder"
    />

</template>
<script>
import { Field } from 'vant'
export default {
    name: 'FormInput',
    components: {
        [Field.name]: Field
    },
    props: {
        data: {
            type: Object
        }
    }
}
</script>
